package cn.com.guage.dtm.stat.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 覆盖度分析详情对象 stat_data_cover_detail
 * 
 * @author yangdechao
 * @date 2021-07-22
 */
public class StatDataCoverDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 覆盖度详情id */
    private Long coverDetailId;

    /** 覆盖度id */
    @Excel(name = "覆盖度id")
    private Long coverId;

    /** 覆盖类型 */
    @Excel(name = "覆盖类型")
    private String coverType;

    /** 表代码 */
    @Excel(name = "表代码")
    private String tableCode;

    /** 表名称 */
    @Excel(name = "表名称")
    private String tableName;

    /** 覆盖情况 */
    @Excel(name = "覆盖情况")
    private String coverInfo;

    /** 附加信息 */
    @Excel(name = "附加信息")
    private String attachInfo;

    /** 字段覆盖度 */
    @Excel(name = "字段覆盖度")
    private BigDecimal fieldCoverRatio;

    /** 字段代码 */
    @Excel(name = "字段代码")
    private String fieldCode;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldName;

    /** 字段类型 */
    @Excel(name = "字段类型")
    private String fieldType;

    /** 字段长度 */
    @Excel(name = "字段长度")
    private Long fieldLength;

    /** 字段精度 */
    @Excel(name = "字段精度")
    private Long fieldPrecision;

    public void setCoverDetailId(Long coverDetailId) 
    {
        this.coverDetailId = coverDetailId;
    }

    public Long getCoverDetailId() 
    {
        return coverDetailId;
    }
    public void setCoverId(Long coverId) 
    {
        this.coverId = coverId;
    }

    public Long getCoverId() 
    {
        return coverId;
    }
    public void setCoverType(String coverType) 
    {
        this.coverType = coverType;
    }

    public String getCoverType() 
    {
        return coverType;
    }
    public void setTableCode(String tableCode) 
    {
        this.tableCode = tableCode;
    }

    public String getTableCode() 
    {
        return tableCode;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setCoverInfo(String coverInfo) 
    {
        this.coverInfo = coverInfo;
    }

    public String getCoverInfo() 
    {
        return coverInfo;
    }
    public void setAttachInfo(String attachInfo) 
    {
        this.attachInfo = attachInfo;
    }

    public String getAttachInfo() 
    {
        return attachInfo;
    }
    public void setFieldCoverRatio(BigDecimal fieldCoverRatio) 
    {
        this.fieldCoverRatio = fieldCoverRatio;
    }

    public BigDecimal getFieldCoverRatio() 
    {
        return fieldCoverRatio;
    }
    public void setFieldCode(String fieldCode) 
    {
        this.fieldCode = fieldCode;
    }

    public String getFieldCode() 
    {
        return fieldCode;
    }
    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }
    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }
    public void setFieldLength(Long fieldLength) 
    {
        this.fieldLength = fieldLength;
    }

    public Long getFieldLength() 
    {
        return fieldLength;
    }
    public void setFieldPrecision(Long fieldPrecision) 
    {
        this.fieldPrecision = fieldPrecision;
    }

    public Long getFieldPrecision() 
    {
        return fieldPrecision;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("coverDetailId", getCoverDetailId())
            .append("coverId", getCoverId())
            .append("coverType", getCoverType())
            .append("tableCode", getTableCode())
            .append("tableName", getTableName())
            .append("coverInfo", getCoverInfo())
            .append("attachInfo", getAttachInfo())
            .append("fieldCoverRatio", getFieldCoverRatio())
            .append("fieldCode", getFieldCode())
            .append("fieldName", getFieldName())
            .append("fieldType", getFieldType())
            .append("fieldLength", getFieldLength())
            .append("fieldPrecision", getFieldPrecision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
